Name :Greater than or equal to
Symbol :GE
Illustrate:
Compares whether the first input is greater than or equal to the second input, and the result is assigned to the output OUT.
Image:
Parameter:
| Parameter | Statement | Type | Description |
|---|---|---|---|
| IN1 | Input | INT/SINT/DINT/UINT/USINT/UDINT/ULINT/REAL/LREAL/BYTE/WORD/LWORD/DWORD/TIME/DATE/TOD/DT/STRING | The first input value |
| IN2 | Input | INT/SINT/DINT/UINT/USINT/UDINT/ULINT/REAL/LREAL/BYTE/WORD/LWORD/DWORD/TIME/DATE/TOD/DT/STRING | The second input value |
| OUT | Output | BOOL | Output value |
Example:
LD:
ST:
Interpretation:
| parameter | operand | value |
|---|---|---|
| IN1 | TagIn1 | Enter a value:1 |
| IN2 | TagIn2 | Enter a value:1 |
| OUT | TagOut | Output value:1 |
IN1 and IN2 input the corresponding types of data, and GE outputs the calculation results.